import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AccountsRoutingModule } from './accounts-routing.module';


import {AccountsComponent} from './accounts.component';
import { AccountAddComponent } from './account-add/account-add.component';
import { AccountUpdateComponent } from './account-update/account-update.component';
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {AccountsService} from "./accounts.service";
import { AccountAuthorityComponent } from './account-authority/account-authority.component';
import { AccountAssignRoleComponent } from './account-assign-role/account-assign-role.component';
import { AccountCreateRoleComponent } from './account-create-role/account-create-role.component';
import {RolesService} from "../roles/roles.service";
import { AccountAssiRoleComponent } from './account-assi-role/account-assi-role.component';
import {OneOperationModule} from "../../../widgets/one-operation/one-operation.module";
import {AccountUpdatePwdComponent} from "./account-update-pwd/account-update-pwd.component";
import { AccountSetThemesComponent } from './account-set-themes/account-set-themes.component';
import { AccountSetPortalsComponent } from './account-set-portals/account-set-portals.component';
import { AccountSetMenuComponent } from './account-set-menu/account-set-menu.component';
@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    OneOperationModule,
    AccountsRoutingModule,
  ],
  declarations: [
    AccountsComponent,
    AccountAddComponent,
    AccountUpdateComponent,
    AccountAuthorityComponent,
    AccountAssignRoleComponent,
    AccountCreateRoleComponent,
    AccountAssiRoleComponent,
    AccountUpdatePwdComponent,
    AccountSetThemesComponent,
    AccountSetPortalsComponent,
    AccountSetMenuComponent
  ],
  providers :[
    AccountsService,
    RolesService
  ]
})
export class AccountsModule { }
